#include "stdafx.h"
#include "IPAddress.h"
#include <string>

using namespace std;

IPAddress::IPAddress(unsigned int A, unsigned int B, unsigned int C, unsigned int D)
{
	string a = to_string(A);
	string b = to_string(B);
	string c = to_string(C);
	string d = to_string(D);

	address = a + "." + b + "." + c + "." + d + '\0';
	
}